

body {
  height: 100%;
  background: #f8f8f8;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

/* --基础公用-- */
.pos-r {
  position: relative !important;
}

.display-none {
  display: none !important;
}

.over-hidden {
  overflow: hidden;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*  -- 浮动 -- */
.fl {
  float: left !important;
}

.fr {
  float: right !important;
}

.fl-set {
  position: absolute;
  top: 0;
  left: 0;
}

.fr-set {
  position: absolute;
  top: 0;
  right: 0;
}

.fb-set {
  position: fixed !important;
  bottom: 0;
  left: 0;
  width: 100%;
}

.clear {
  clear: both;
}

.clear::after,
.clear-fixed::after {
  display: block;
  clear: both;
  content: " ";
}

.te-c {
  text-align: center !important;
}

.te-l {
  text-align: left !important;
}

.te-r {
  text-align: right !important;
}

// 字体对齐相关
@each $short, $long in c center, l left, r right {
  .te-#{$short} {
    text-align: #{$long} !important;
  }
}
$fontSizes:(10,12,20,17,30,14);
@for $i from 1 through length($fontSizes) {
  $item: nth($fontSizes, $i);
  .font-#{$item} {
    font-size: #{$item}px ;
  }
}
// 内外边距
$paddings: (0, 5, 10, 15, 20, 25, 30, 38, 40,200,240);
// 方向 简写
$directions: (
  l: left,
  r: right,
  t: top,
  b: bottom,
);
/*  -- 内外边距 -- */
@for $i from 1 through length($paddings) {
  $item: nth($paddings, $i);
  @each $short, $long in $directions {
    // 定义margin
    .m#{$short}-#{$item} {
      margin-#{$long}: #{$item}px !important;
    }

    // 定义padding
    .p#{$short}-#{$item} {
      padding-#{$long}: #{$item}px !important;
    }
  }
  .p-#{$item} {
    padding: #{$item}px !important;
  }
  .m-#{$item} {
    margin: #{$item}px !important;
  }
}

.bg-white {
  background: #fff;
}

.font-info {
  color: #999;
}

/*  -- san 项目样式 -- */

.page-header-group {
  @extend .clear;
  line-height: 32px;
  padding: 10px 20px;
  background: #fff;
}


/* -- 沉底按钮 -- */
.bottomButton{
  position: fixed !important;
  bottom: 0px;
  width: 100%;
  padding: 15px;
} 

/*  -- Flex 布局 弹性布局 -- */
.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}

//内弹性盒元素的方向 垂直显示
.flex-col {
  display: flex;
  flex-direction: column;
}

//拆行或拆列
.flex-wrap {
  flex-wrap: wrap;
}

// 默认值  不拆行或不拆列 --
.flex-nowrap {
  flex-wrap: nowrap;
}
.flex-shrink {
  flex-shrink: 0;
}

//垂直 列  居中
.col-center {
  align-items: center;
}

//垂直 列  容器的开头
.col-top {
  align-items: flex-start;
}

//垂直 列  容器的结尾
.col-bottom {
  align-items: flex-end;
}

//垂直 元素被拉伸以适应容器
.col-stretch {
  align-self: stretch;
}

//水平  行   居中
.row-center {
  justify-content: center;
}

//水平  行    开头
.row-left {
  justify-content: flex-start;
}

//水平  行    结尾
.row-right {
  justify-content: flex-end;
}

//水平  行    两端
.row-between {
  justify-content: space-between;
}

//水平  行   之前、之间、之后都留有空白的容器内
.row-around {
  justify-content: space-around;
}

// 居中
.row-col-center{
  display: flex;
  justify-content: center;
  align-items: center;
}

// 继承父组件高宽度
.forFather{
  width: 100%;
  height: 100%;
}
// 字体宽度
.font-w-5 {
  font-weight: 500;
}
.font-w-8 {
  font-weight: 800;
}

.font-w-7 {
  font-weight: 700;
}
.w100vw{
  width: 100vw;
}
.w100{
  width: 100%;
}
.cardBox{
  margin: 15px;
  padding: 15px;
  background-color: #fff;
  border-radius: 15px;
  .title{
    font-weight: 500;
    font-size: 17px;
  }
  img{
    width: 100%;
    height: 100%;
  }
  .infoTitel {
    color: #666;
    margin-right: 10px;
  }
  .address{
    margin: 0;
    padding: 0;
  }
  .lookA{
    width: 100%;
    height: 50px;
    text-align: center;
    line-height: 50px;
  }
  .h200{
    max-height: 200px;
    overflow: hidden;
  }
}

.homeBox {
  height: 100vh !important;
  margin: 0;
  background: no-repeat;
  background-image: url(../../assets/image/home/topBg.png);
  background-size: 100% !important;
}